﻿<%@ Page Title="" Language="C#" MasterPageFile="../Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SingleMessage>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div id="replysingle">
        <h2>
            回复<%= Html.SimpleUserLabel(Model.GetSenderInfo()) %>的消息：</h2>
        <div class="sec">
            <%= Model.MessageText.SummrizeText(50) %><span class="ignore">(<%= Model.CreateOn %>)</span></div>
        <form method="post" action="/Message/ReplySingleMessage">
        <%= Html.Hidden("topicId", Model.ParentMessageId) %>
        <%= Html.Hidden("messageId", Model.MessageId)%>
        <div class="sec">
            <input class="input_b" name="replyText" value="回复 <%= Model.GetSenderInfo().Name %>: " />
            <div>
                <input type="submit" value="回复" class="button" /><%= Html.CheckBox("isReplyToAll")%><label
                    for="replyToAllGroup">回复所有参与者</label></div>
        </div>
        </form>
    </div>
</asp:Content>
